package net.zjitc.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * @auther 郭梦婷
 * @create 2022-04-27 16:12:28
 * @describe 实体类
 */
@TableName("company")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="Company对象", description="")
@Data
public class Company implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "创建时间")
    @TableField("addtime")
    private Date addtime;

    @ApiModelProperty(value = "企业编号")
    @TableField("companyid")
    private String companyid;

    @ApiModelProperty(value = "企业名称")
    @TableField("companyname")
    private String companyname;

    @ApiModelProperty(value = "密码")
    @TableField("password")
    private String password;

    @ApiModelProperty(value = "负责人")
    @TableField("principal")
    private String principal;

    @ApiModelProperty(value = "邮箱")
    @TableField("email")
    private String email;

    @ApiModelProperty(value = "手机")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "企业介绍")
    @TableField("profile")
    private String profile;

    @ApiModelProperty(value = "企业图片")
    @TableField("companypic")
    private String companypic;

    @ApiModelProperty(value = "企业优势")
    @TableField("comadvantage")
    private String comadvantage;

    @ApiModelProperty(value = "企业地点")
    @TableField("placeid")
    private String placeid;

    @TableField(exist = false)
    private List<Integer> placeids;

    @TableField(exist = false)
    private String placename;




}